﻿#region Using Directives

    using System;
    using System.Collections.Generic;
    using System.Xml;

#endregion

namespace MarketPulse.BusinessLogic.Legacy
{
   
    #region AccreditationPage Class

        /// <summary>
        /// Class used to represent an Accreditation (Shopper training course) page
        /// </summary>
        public class AccreditationPage
        {
            #region Member Variables

                /// <summary>The questions for this AccreditationPage</summary>
                QuestionCollection mQuestions;

                /// <summary>The DisplayQuestion for this AccreditationPage</summary>
                AccreditationDisplayQuestion mDisplayQuestion;

            #endregion

            #region Constructors

                /// <summary>
                /// Deafult constrcutor for this class
                /// </summary>
                public AccreditationPage()
                {
                    mQuestions = new QuestionCollection();
                    mDisplayQuestion = new AccreditationDisplayQuestion();
                }

            #endregion

            #region Properties

                /// <summary>The Title for this page</summary>
                public string Title { get; set; }

                /// <summary>The Type for this page based on the PageType Enumeration</summary>
                public string Type { get; set; }

                /// <summary>The Content Type for this page based on the PageContentType Enumeration</summary>
                public string ContentType { get; set; }

                /// <summary>The Banner Image for this page</summary>
                public string BannerImage { get; set; }

                /// <summary>The Banner title for this page</summary>
                public string BannerTitle { get; set; }

                /// <summary>The Sidebar Title for this page</summary>
                public string SidebarTitle { get; set; }

                /// <summary>The Separator Title for this page</summary>
                public string SeparatorTitle { get; set; }

                /// <summary>The SeparatorImage for this page</summary>
                public string SeparatorImage { get; set; }

                /// <summary>The Sidbar Image for this page</summary>
                public string SidebarImage { get; set; }

                /// <summary>The Content Image for this page</summary>
                public string ContentTitle { get; set; }

                /// <summary>The Content Text for this page</summary>
                public string ContentText { get; set; }

                /// <summary>The Instruction Text for this page</summary>
                public string InstructionText { get; set; }

                /// <summary>The Question Text for this page</summary>
                public string QuestionText { get; set; }

                /// <summary>The Image ALT tag text for an image on this page</summary>
                public string ImageALT { get; set; }

                /// <summary>The Image SRC tag text for an image on this page</summary>
                public string ImageSRC { get; set; }

                /// <summary>The BannerTitleStyleClass on this page</summary>
                public string BannerTitleStyleClass { get; set; }

                /// <summary>The ContentStyleClass on this page</summary>
                public string ContentStyleClass { get; set; }

                /// <summary>The SeparatorStyleClass on this page</summary>
                public string SeparatorStyleClass { get; set; }

                /// <summary>The HeaderImage on this page</summary>
                public string HeaderImage { get; set; }

                /// <summary>The ClientStylesheet on this page</summary>
                public string ClientStylesheet { get; set; }

                /// <summary>The (informational, yes/no) display question for this page</summary>
                public AccreditationDisplayQuestion DisplayQuestion { get { return mDisplayQuestion; } set { mDisplayQuestion = value; } }

                /// <summary>The Collection of Questions for this page</summary>
                public QuestionCollection Questions { get { return mQuestions; } set { mQuestions = value; } }

            #endregion
        }

    #endregion

    #region AccreditationPageCollection Class

        /// <summary>
        /// Class used to represent a collection of Accreditation pages
        /// </summary>
        public class AccreditationPageCollection : List<AccreditationPage>
        {                       

            #region Properties

                /// <summary>The number in the list of the SuccessPage</summary>
                public int SuccessPageNumber { get; set; }

                /// <summary>The number in the list of the FailPage</summary>
                public int FailPageNumber { get; set; }

            #endregion
        }

    #endregion    
}
